package hello;

import java.util.Scanner;

public class UserInput {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        System.out.printf("Please iput your name: ");
        System.out.printf("Hello! %s.\r\n", scanner.next());

        Scanner scannerNum = new Scanner(System.in);
        System.out.printf("Please input a number: ");
        System.out.printf("This is number %d.\r\n", scanner.nextInt());
    }
}
